﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Data;
using System.Data.Common;

using Microsoft.Practices.EnterpriseLibrary.Data;

using Husb.Data;
using Husb.DataUtil;

using GroundWater.Data;
using WaterSourceTable = GroundWater.Data.InfoDataSet.WaterSourceDataTable;
using WaterSourceRow = GroundWater.Data.InfoDataSet.WaterSourceRow;

namespace GroundWater.DataAccess
{
    public class WaterSourceDataAdapter : DataAccessAdapter<InfoDataSet, WaterSourceTable, WaterSourceRow>
    {
        public WaterSourceDataAdapter()
        {
            this.TableName = "WaterSource";

            GetAllStoredProc = SqlStatements.WaterSource_FetchAll;
            InsertStoredProc = SqlStatements.Users_InsertUser;
            UpdateStoredProc = SqlStatements.Users_UpdateUser;
            DeleteStoredProc = SqlStatements.Users_DeleteUser;
        }

        protected override void PopulateInsertParameters(Database db, DbCommand cmd)
        {
            throw new NotImplementedException();
        }
    }
}
